<script setup>
import {ref, defineProps} from "vue"
const active = ref(1)
defineProps({
  list: {
    type: Array,
    default: []
  }
})
</script>

<template>
  <div class="width backgroundColor roundCorner padding">
    <van-steps :active="active" active-color="#1ecd84">
      <van-step v-for="(item, index) in list" :key="index">{{item}}</van-step>
    </van-steps>
  </div>
</template>

<style scoped>

</style>